package com.tvunetworks.center.user.mapper;

import com.tvunetworks.center.user.model.UserFeatureRecord;
import com.tvunetworks.center.user.model.param.OwnFeatureUserParam;
import com.tvunetworks.center.user.model.vo.OwnFeatureUserRecordVo;
import com.tvunetworks.center.user.model.vo.OwnFeatureUserVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
/**
 * @program:
 * @description:
 * @author HenryChen
 * @create: 5/29/2019 12:17 PM
 **/
public interface UserFeatureRecordMapper extends Mapper<UserFeatureRecord> {

    /**
     * 列出拥有feature的用户
     * @param param param
     * @return List
     */
    List<OwnFeatureUserVo> listOwnFeatureUser(OwnFeatureUserParam param);

    /**
     * 列出拥有feature用户 拥有feature的时间段
     * @param param param
     * @return List
     */
    List<OwnFeatureUserRecordVo> getOwnFeatureUserRecord(OwnFeatureUserParam param);

    /**
     *
     * @param param param
     * @return List
     */
    List<OwnFeatureUserVo> listAutoOwnFeatureUser(OwnFeatureUserParam param);

    /**
     *
     * @param param param
     * @return List
     */
    List<OwnFeatureUserVo> listNotAutoOwnFeatureUser(OwnFeatureUserParam param);
}
